<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-heading">
        <div class="panel-lead">
            <em style="color: red;">关于我们信息配置。</em>
        </div>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <form id="update-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
                        <hr />
                        <p class="hr_title">关于我们信息配置</p>
                        <input type="hidden" name="id" value="{$row.id}">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('成交总数')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="copyright" name="row[order_number]" value="{$row.order_number}" data-rule="required" />
                                <p class="help-block">成交总数</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('会员总数')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="address" name="row[user_number]" value="{$row.user_number}" data-rule="required" />
                                <p class="help-block">会员总数</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('成交率')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="qq" name="row[order_proportion]" value="{$row.order_proportion}" data-rule="required" />
                                <p class="help-block">成交率</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="c-image" class="control-label col-xs-12 col-sm-2">{:__('左侧图片')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="input-group">
                                    <input id="c-image" class="form-control" size="35" name="row[img]" type="text" value="{$row.img}">
                                    <div class="input-group-addon no-border no-padding">
                                        <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    </div>
                                    <span class="msg-box n-right"></span>
                                </div>
                                <ul class="row list-inline faupload-preview" id="p-image"></ul>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('右侧内容')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="col-xs-12 col-sm-8">
                                    <textarea id="c-right_content" data-rule="required" class="form-control editor" name="row[right_content]" rows="15">{$row.right_content}</textarea>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('中间内容')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="col-xs-12 col-sm-8">
                                    <textarea id="c-middle_content" data-rule="required" class="form-control editor" name="row[middle_content]" rows="15">{$row.middle_content}</textarea>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('底部内容')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="col-xs-12 col-sm-8">
                                    <textarea id="c-below_content" data-rule="required" class="form-control editor" name="row[below_content]" rows="15">{$row.below_content}</textarea>
                                </div>
                            </div>
                        </div>
                        <hr />
                        <div class="form-group" style="display: none">
                            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')],$row['status'])}
                            </div>
                        </div>
                        <div class="form-group layer-footer">
                            <label class="control-label col-xs-12 col-sm-2"></label>
                            <div class="col-xs-12 col-sm-8">
                                <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
                                <button type="reset" class="btn btn-default btn-embossed" style="display: none">{:__('Reset')}</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
<style>
    .hr_title{
        text-align: center;
        font-weight: 800;
    }

</style>